package com.aggregate.pay.sanstar.bean;

import java.util.Date;

import com.aggregate.pay.sanstar.enums.NetType;

/**
 * 终端心跳-请求参数
 * @author Moyq5
 * @date 2019年11月18日
 */
public class TerminalPantData {
    /**
     * 上下线类型，离线前最后一次上后为false
     */
    private Boolean isOnline;
	/**
	 * 软件版本
	 */
	private String app;
	/**
     * 软件版本code
     */
	private Integer appCode;
	/**
	 * 软件模式
	 */
	private Integer payMode;
	/**
	 * 系统版本
	 */
	private String sys;
	/**
	 * 固件版本
	 */
	private String rom;
	/**
	 * 品牌
	 */
	private String brand;
	/**
	 * 型号
	 */
	private String model;
	/**
	 * IMEI号
	 */
	private String imei;
	/**
	 * 本地IP
	 */
	private String locIp;
	/**
	 * MAC
	 */
	private String mac;
	/**
	 * 网络类型
	 */
	private NetType net;
	/**
	 * 网络信号强度
	 */
	private Integer sig;
	/**
	 * 下行流量(字节)
	 */
	private Long rxKb;
	/**
	 * 上行流量(字节)
	 */
	private Long txKb;
	/**
	 * 免密管理
	 */
	private Boolean isPwdIgnore;
	/**
	 * 开户定额模式
	 * @see TerminalPantData#payMode
	 */
	@Deprecated
	private Boolean isPayFixed;
	/**
	 * 开启扫码支付
	 */
	private Boolean isPayQrcode;
	/**
	 * 开户刷卡支付
	 */
	private Boolean isPayNfc;
	/**
	 * 开启刷脸支付
	 */
	private Boolean isPayFace;
	/**
	 * 允许看交易
	 */
	private Boolean isTransOverview;
	/**
	 * 允许退款
	 */
	private Boolean isTransRefund;
	/**
	 * 启用支付自动刷脸
	 */
	private Boolean isFaceAutoVerify;
	/**
     * 启用支付自动确认
     */
    private Boolean isFaceAutoConfirm;
	/**
	 * 允许离线刷脸支付
	 */
	private Boolean isFacePayOffline;
	/**
	 * 开启同步扣款，等待扣款结果返回
	 */
	private Boolean isFacePayBlock;
	/**
	 * 离线交易滞留数，笔数
	 */
	private Integer offlineCount;
	/**
	 * 数据滞留最大时长，天
	 */
	private Integer offlineDay;
	/**
     * 配置组同步时间
     */
    private Date groupTime;
    /**
     * 职员同步时间
     */
    private Date stafferTime;
    /**
	 * 卡信息同步时间
	 */
	private Date cardTime;
	/**
	 * 刷脸用户同步时间
	 */
	private Date faceTime;
	/**
	 * 终端配置同步时间
	 */
	private Date settingTime;
	/**
	 * 最近异常信息
	 */
	private String error;
	/**
	 * 心跳上报时间
	 */
	private Date pantTime = new Date();
    public Boolean getIsOnline() {
        return isOnline;
    }
    public void setIsOnline(Boolean isOnline) {
        this.isOnline = isOnline;
    }
    public String getApp() {
        return app;
    }
    public void setApp(String app) {
        this.app = app;
    }
    
    public String getSys() {
        return sys;
    }
    public void setSys(String sys) {
        this.sys = sys;
    }
    public String getRom() {
        return rom;
    }
    public void setRom(String rom) {
        this.rom = rom;
    }
    public String getBrand() {
        return brand;
    }
    public void setBrand(String brand) {
        this.brand = brand;
    }
    public String getModel() {
        return model;
    }
    public void setModel(String model) {
        this.model = model;
    }
    public String getImei() {
        return imei;
    }
    public void setImei(String imei) {
        this.imei = imei;
    }
    public String getLocIp() {
        return locIp;
    }
    public void setLocIp(String locIp) {
        this.locIp = locIp;
    }
    public String getMac() {
        return mac;
    }
    public void setMac(String mac) {
        this.mac = mac;
    }
    public NetType getNet() {
        return net;
    }
    public void setNet(NetType net) {
        this.net = net;
    }
    public Integer getSig() {
        return sig;
    }
    public void setSig(Integer sig) {
        this.sig = sig;
    }
    public Long getRxKb() {
        return rxKb;
    }
    public void setRxKb(Long rxKb) {
        this.rxKb = rxKb;
    }
    public Long getTxKb() {
        return txKb;
    }
    public void setTxKb(Long txKb) {
        this.txKb = txKb;
    }
    public Boolean getIsPwdIgnore() {
        return isPwdIgnore;
    }
    public void setIsPwdIgnore(Boolean isPwdIgnore) {
        this.isPwdIgnore = isPwdIgnore;
    }
    @Deprecated
    public Boolean getIsPayFixed() {
        return isPayFixed;
    }
    /**
     * deprecated
     * @param isPayFixed
     * @see #setPayMode(Integer)
     */
    @Deprecated
    public void setIsPayFixed(Boolean isPayFixed) {
        this.isPayFixed = isPayFixed;
    }
    public Boolean getIsPayQrcode() {
        return isPayQrcode;
    }
    public void setIsPayQrcode(Boolean isPayQrcode) {
        this.isPayQrcode = isPayQrcode;
    }
    public Boolean getIsPayNfc() {
        return isPayNfc;
    }
    public void setIsPayNfc(Boolean isPayNfc) {
        this.isPayNfc = isPayNfc;
    }
    public Boolean getIsPayFace() {
        return isPayFace;
    }
    public void setIsPayFace(Boolean isPayFace) {
        this.isPayFace = isPayFace;
    }
    public Boolean getIsTransOverview() {
        return isTransOverview;
    }
    public void setIsTransOverview(Boolean isTransOverview) {
        this.isTransOverview = isTransOverview;
    }
    public Boolean getIsTransRefund() {
        return isTransRefund;
    }
    public void setIsTransRefund(Boolean isTransRefund) {
        this.isTransRefund = isTransRefund;
    }
    public Boolean getIsFaceAutoVerify() {
        return isFaceAutoVerify;
    }
    public void setIsFaceAutoVerify(Boolean isFaceAutoVerify) {
        this.isFaceAutoVerify = isFaceAutoVerify;
    }
    public Boolean getIsFaceAutoConfirm() {
        return isFaceAutoConfirm;
    }
    public void setIsFaceAutoConfirm(Boolean isFaceAutoConfirm) {
        this.isFaceAutoConfirm = isFaceAutoConfirm;
    }
    public Boolean getIsFacePayOffline() {
        return isFacePayOffline;
    }
    public void setIsFacePayOffline(Boolean isFacePayOffline) {
        this.isFacePayOffline = isFacePayOffline;
    }
    public Boolean getIsFacePayBlock() {
        return isFacePayBlock;
    }
    public void setIsFacePayBlock(Boolean isFacePayBlock) {
        this.isFacePayBlock = isFacePayBlock;
    }
    public Integer getOfflineCount() {
        return offlineCount;
    }
    public void setOfflineCount(Integer offlineCount) {
        this.offlineCount = offlineCount;
    }
    public Integer getOfflineDay() {
        return offlineDay;
    }
    public void setOfflineDay(Integer offlineDay) {
        this.offlineDay = offlineDay;
    }
    public Date getGroupTime() {
        return groupTime;
    }
    public void setGroupTime(Date groupTime) {
        this.groupTime = groupTime;
    }
    public Date getCardTime() {
        return cardTime;
    }
    public void setCardTime(Date cardTime) {
        this.cardTime = cardTime;
    }
    public Date getFaceTime() {
        return faceTime;
    }
    public void setFaceTime(Date faceTime) {
        this.faceTime = faceTime;
    }
    public Date getSettingTime() {
        return settingTime;
    }
    public void setSettingTime(Date settingTime) {
        this.settingTime = settingTime;
    }
    public String getError() {
        return error;
    }
    public void setError(String error) {
        this.error = error;
    }
    public Date getPantTime() {
        return pantTime;
    }
    public void setPantTime(Date pantTime) {
        this.pantTime = pantTime;
    }
    public Date getStafferTime() {
        return stafferTime;
    }
    public void setStafferTime(Date stafferTime) {
        this.stafferTime = stafferTime;
    }
    public Integer getAppCode() {
        return appCode;
    }
    public void setAppCode(Integer appCode) {
        this.appCode = appCode;
    }
    public Integer getPayMode() {
        return payMode;
    }
    public void setPayMode(Integer payMode) {
        this.payMode = payMode;
    }
    
}
